﻿/*----------------------------------------------------------------
// Copyright (C) 2016 通通优品版权所有。
// 命名空间: STOWaybillMall.Users.Controllers
// 类名：UsersController
// 功能描述：N/A
// 
// 创建标识：Roc.Lee(李鹏鹏) 2017/8/8 17:27:42 TEC-ROCLEE Roc.Lee

// 修改标识：
// 修改描述：
// 
//
//----------------------------------------------------------------*/
using Abp.WebApi.Controllers;
using STOWaybillMall.Users.Dto;
using Swashbuckle.Swagger.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace STOWaybillMall.Users.Controllers
{
    /// <summary>
    /// 
    /// </summary>
    [RoutePrefix("users")]
    public class UsersController : AbpApiController
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="input"></param>
        /// <response code="400">Username already in use</response>
        /// <returns></returns>
        [SwaggerOperation()]
        [Route("user-login")]
        public BaseOutput UserLogin(UserLoginInput input)
        {
            return new BaseOutput();
        }
        /// <summary>
        /// 用户基本信息
        /// </summary>
        /// <returns></returns>
        [Route("user-baseinfo")]
        public GetCurrentLoginInformationsOutput GetCurrentLoginInformations()
        {
            return new GetCurrentLoginInformationsOutput();
        }
        /// <summary>
        /// 用户更改密码
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        [Route("user-changepwd")]
        public BaseOutput UserChangePassword(UserChangePasswordInput input)
        {
            return new BaseOutput();
        }
    }
}
